Readme for PBJ XSD V4.00.0 (nhpbj_4_00_0.xsd)

Please note the changes for the PBJ XSD since the previous version (V2.00.3).  NOTE:  Currently, the PBJ system will still accept data submitted in the legacy XSD format (nhpbj_2_00_0.xsd & nhpbj_2_00_3.xsd) as well as this new format. However, beginning June 2, 2020, only the 4.00.0 fileSpecVersion will be accepted. See the PBJ Data Specifications for more information.

(1)  The value for the fileSpecVersion item must be 4.00.0 when using the new XSD file.

(2)  The following XSD code has been removed:

<xs:complexType name="NursingHomeDetail">
		<xs:sequence>
			<xs:element name="census" type="Census" minOccurs="0" maxOccurs="1" />
		</xs:sequence>
	</xs:complexType>

<!-- Census Section -->
	<xs:complexType name="Census">
		<xs:sequence>
			<xs:element maxOccurs="3" minOccurs="0" name="month" type="Month" />
		</xs:sequence>
		<xs:attribute name="processType" use="required">
			<xs:simpleType>
				<xs:restriction base="xs:token">
					<xs:enumeration value="merge" />
					<xs:enumeration value="replace" />
				</xs:restriction>
			</xs:simpleType>
		</xs:attribute>
	</xs:complexType>

	<xs:complexType name="Month">
		<xs:sequence>
			<xs:element name="monthEndDate" type="xs:date" />
			<xs:element name="medicaid" type="censusCount" />
			<xs:element name="medicare" type="censusCount" />
			<xs:element name="other" type="censusCount" />
		</xs:sequence>
	</xs:complexType>
	
	<xs:simpleType name="censusCount">
		<xs:restriction base="xs:nonNegativeInteger">
			<xs:maxInclusive value="9999" />
		</xs:restriction>
	</xs:simpleType>


  